package com.example.memo.entity;

public class UserInfo {
    //用户
    private int userid;
    private String account;
    private String password;
    public static UserInfo userInfo;

    public static UserInfo getUserInfo() {
        return userInfo;
    }

    public static void setUserInfo(UserInfo userInfo) {
        UserInfo.userInfo = userInfo;
    }

    public UserInfo() {
    }

    public UserInfo(int userId, String account, String passWord) {
        this.userid = userId;
        this.account = account;
        this.password = passWord;
    }

    public int getUserid() {
        return userid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
